<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
            <meta http-equiv="Content-Style-Type" content="text/css">
                <title></title>
                <meta name="Generator" content="Cocoa HTML Writer">
                    <meta name="CocoaVersion" content="1348.17">
                        
    </head>
    <body>
        <h1>应用下载</h1>
        
        <p>应用列表.</p>
        
        <div class="contain-to-grid">
            <nav class="top-bar" data-topbar>
                <ul class="title-area">
                    <li class="name">
                        <h1>
                            <script type="text/javascript">
                                /*
                                 * 智能机浏览器版本信息:
                                 */
                            var browser={
                                versions:function(){
                                    var u = navigator.userAgent, app = navigator.appVersion;
                                    return {//移动终端浏览器版本信息
                                        trident: u.indexOf('Trident') > -1, //IE内核
                                        presto: u.indexOf('Presto') > -1, //opera内核
                                        webKit: u.indexOf('AppleWebKit') > -1, //苹果、谷歌内核
                                        gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1, //火狐内核
                                        mobile: !!u.match(/AppleWebKit.*Mobile.*/), //是否为移动终端
                                        ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端
                                                       android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android终端或者uc浏览器
                                                       iPhone: u.indexOf('iPhone') > -1, //是否为iPhone
                                                       iPad: u.indexOf('iPad') > -1, //是否iPad
                                                       webApp: u.indexOf('Safari') == -1 //是否web应该程序，没有头部与底部
                                                       };
                                                       }(),
                                                       language:(navigator.browserLanguage || navigator.language).toLowerCase()
                                                       }
                                                       
                                                       //document.writeln("语言版本: "+browser.language);
                                                       //document.writeln(" 是否为移动终端: "+browser.versions.mobile);
                                                       //document.writeln(" ios终端: "+browser.versions.ios);
                                                       //document.writeln(" android终端: "+browser.versions.android);
                                                       //document.writeln(" 是否为iPhone: "+browser.versions.iPhone);
                                                       //document.writeln(" 是否iPad: "+browser.versions.iPad);
                                                       //document.writeln(navigator.userAgent);
                                                       //document.writeln(" 是否webApp: "+browser.versions.webApp);
                                                       if (browser.versions.webApp) {
                                                       //document.writeln('<a href="https://git.oschina.net/sunk201314/mobile/raw/master/sipphone/sipphone.ipa">江苏有线</a>');
                                                       document.writeln('<a href="itms-services://?action=download-manifest&url=https://git.oschina.net/sunk201314/mobile/raw/master/sipphone/sipphone.plist">江苏有线(Mobile)</a>');
                                                       }
                                                       else if (browser.versions.mobile) {
                                                       document.writeln('<a href="itms-services://?action=download-manifest&url=https://git.oschina.net/sunk201314/mobile/raw/master/sipphone/sipphone.plist">江苏有线(Mobile)</a>');
                                                       }
                                                       else {
                                                       document.writeln('<a href="https://git.oschina.net/sunk201314/mobile/raw/master/sipphone/sipphone.ipa">江苏有线(Mac)</a>');
                                                       }
                                                       </script>
                            
                        </h1>
                    </li>
                </ul>
            </nav>
            <nav class="top-bar" data-topbar>
                <ul class="title-area">
                    <li class="name">
                        <h1>
                            <script type="text/javascript">
                                /*
                                 * 智能机浏览器版本信息:
                                 */
                            var browser={
                                versions:function(){
                                    var u = navigator.userAgent, app = navigator.appVersion;
                                    return {//移动终端浏览器版本信息
                                        trident: u.indexOf('Trident') > -1, //IE内核
                                        presto: u.indexOf('Presto') > -1, //opera内核
                                        webKit: u.indexOf('AppleWebKit') > -1, //苹果、谷歌内核
                                        gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1, //火狐内核
                                        mobile: !!u.match(/AppleWebKit.*Mobile.*/), //是否为移动终端
                                        ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端
                                                       android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android终端或者uc浏览器
                                                       iPhone: u.indexOf('iPhone') > -1, //是否为iPhone
                                                       iPad: u.indexOf('iPad') > -1, //是否iPad
                                                       webApp: u.indexOf('Safari') == -1 //是否web应该程序，没有头部与底部
                                                       };
                                                       }(),
                                                       language:(navigator.browserLanguage || navigator.language).toLowerCase()
                                                       }
                                                       
                                                       //document.writeln("语言版本: "+browser.language);
                                                       //document.writeln(" 是否为移动终端: "+browser.versions.mobile);
                                                       //document.writeln(" ios终端: "+browser.versions.ios);
                                                       //document.writeln(" android终端: "+browser.versions.android);
                                                       //document.writeln(" 是否为iPhone: "+browser.versions.iPhone);
                                                       //document.writeln(" 是否iPad: "+browser.versions.iPad);
                                                       //document.writeln(navigator.userAgent);
                                                       //document.writeln(" 是否webApp: "+browser.versions.webApp);
                                                       if (browser.versions.webApp) {
                                                       //document.writeln('<a href="https://git.oschina.net/sunk201314/mobile/raw/master/sipphone/sipphone2.ipa">山东有线</a>');
                                                       document.writeln('<a href="itms-services://?action=download-manifest&url=https://git.oschina.net/sunk201314/mobile/raw/master/sipphone/sipphone2.plist">山东有线(Mobile)</a>');
                                                       }
                                                       else if (browser.versions.mobile) {
                                                       document.writeln('<a href="itms-services://?action=download-manifest&url=https://git.oschina.net/sunk201314/mobile/raw/master/sipphone/sipphone2.plist">山东有线(Mobile)</a>');
                                                       }
                                                       else {
                                                       document.writeln('<a href="https://git.oschina.net/sunk201314/mobile/raw/master/sipphone/sipphone2.ipa">山东有线(Mac)</a>');
                                                       }
                                                       </script>
                            
                        </h1>
                    </li>
                </ul>
            </nav>
        </div>
    </body>
</html>
